//
//  FriendModel.h
//  project
//
//  Created by 黄建华 on 2018/8/11.
//  Copyright © 2018年 黄建华. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface FriendModel : NSObject
@property (nonatomic, strong) NSString *loginId;
@property (nonatomic, strong) NSString *user_id;
@property (nonatomic, strong) NSString *nickName;
@property (nonatomic, strong) NSString *imagePath;
@property (nonatomic, assign) NSInteger gender;
@property (nonatomic, assign) BOOL isBest;
@property (nonatomic, assign) BOOL isSupport;
@property (nonatomic, strong) NSString  *remark;
@property (nonatomic, strong) NSString *sign;
@property (nonatomic, strong) NSString* showNickName;
@property (nonatomic, strong) NSString *showSign;

+ (FriendModel *)getFriendModelWith:(NSString *)userId;

//
@property (nonatomic, assign) NSInteger step;
@property (nonatomic, assign) NSInteger distance;
@property (nonatomic, assign) NSInteger carlor;
@property (nonatomic, assign) NSInteger sportduration;

@property (nonatomic, strong) NSString *showValue1;
@property (nonatomic, strong) NSString *showValue2;
@property (nonatomic, strong) NSString *showValue3;
@property (nonatomic, strong) NSString *showValue4;
@property (nonatomic, strong) NSString *showValue11;
@property (nonatomic, strong) NSString *showValue22;
@property (nonatomic, strong) NSString *showValue33;
@property (nonatomic, strong) NSString *showValue44;
@property (nonatomic, strong) NSArray *stepHistory;
@property (nonatomic, strong) NSArray *sleepHistory;


@property (nonatomic, strong) NSArray *heartHistory;
@property (nonatomic, strong) NSArray *bpHistory;
@property (nonatomic, strong) NSArray *oxHistory;

@property (nonatomic, assign) NSInteger heartMax;
@property (nonatomic, assign) NSInteger heartMin;
@property (nonatomic, assign) NSInteger heartAve;

@property (nonatomic, assign) NSInteger oxMax;
@property (nonatomic, assign) NSInteger oxMin;
@property (nonatomic, assign) NSInteger oxAve;

@property (nonatomic, assign) NSInteger sbpAve;
@property (nonatomic, assign) NSInteger dbpAve;

- (void)updateToSelWith:(NSDictionary *)dic;
@end
